﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QYWebSiteBN
{
    public partial class fmDBSelect : Form
    {
        public fmDBSelect()
        {
            InitializeComponent();
        }

        public fmDBSelect(int index)
        {
 
        }

        private void lstDb_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (lstDb.SelectedItem != null)
            {
                BtnNext.Enabled = true;
            }
        }

        private void BtnNext_Click(object sender, EventArgs e)
        {
            switch (lstDb.SelectedIndex)
            {

                case 1:
                    {
                        fmDbAdd fmdb = new fmDbAdd();
                        fmdb.ShowDialog();
                        break;
 
                    }
            }

            
        }
    }
}
